export interface User {
  id: string;
  name: string;
  headshot: string;
  phone: string;
  email: string;
  password: string;
  gender: 0 | 1 | 2; //1：男，2：女，0：保密
  createTime: string;
  fansCount: string;
  newDynamic: boolean;
  newMessage: boolean;
  channelSort?: string;
  isFollow?: boolean;
}

export interface LoginInfo {
  account?: string;
  password?: string;
  code?: string;
  secondCode?: string;
}

export interface SafeInfo extends LoginInfo {
  phone?: string;
  email?: string;
}

export interface CommonInfo {
  name: string;
  gender: 0 | 1 | 2;
}


export type Channel = [number, boolean];
